package SpellCheck;
import java.util.Collection;


public class StringDivider {

	/**
	 * This tockenizes a line to words
	 * @param line
	 * @return
	 */
	public static String[] divLine(String line)
	{
		/*
		 * Requires more refinemnet right now noncharacter ASCI codes are also returned
		 * with the word i.e. "anu", which should not happen in real spell chk
		 */
		
		 String[] result = line.split("\\s");
		 
	     	for (int x=0; x<result.length; x++)
	     		System.out.println(result[x]);
	     	return result;

	}
}
